package com.bnz.service;

import com.bnz.pojo.PageResult;
import com.bnz.pojo.Student;
import com.bnz.pojo.StudentVo;

import java.util.List;

public interface StudentService {
    /**
     * 查
     * @return
     */
    List<Student> findAll();

    /**
     * 分页
     * @param page
     * @param pagesize
     * @return
     */
    PageResult<Student> findByPage(int page, int pagesize);

    PageResult<Student> search(int page, int pagesize, StudentVo studentVo);
}
